﻿using System.Web;

namespace Risesun.Web
{
    /// <summary>
    /// 控制器
    /// </summary>
    public class HttpController
    {
        #region 主要参数
        /// <summary>
        /// 上下文对象
        /// </summary>
        public HttpContext Context { get; set; }
        /// <summary>
        /// Request
        /// </summary>
        public HttpRequest Request
        {
            get { return Context.Request; }
        }
        /// <summary>
        /// Cookie
        /// </summary>
        public HttpResponse Response
        {
            get { return Context.Response; }
        }
        #endregion
    }
}